package com.xjm.i1.entity;

import com.xjm.i1.constant.AreaEnum;
import com.xjm.i1.constant.MaxGrayEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 加载数据的灰度偏差数据
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ColorGrayArea {

    private AreaEnum areaSign;

    private MaxGrayEnum graySign;

    private double valueL;

    private double valueA;

    private double valueB;

    /**
     * 获取灰度数据结构按顺序返回的所有映射字段
     **/
    public static String[] getColorGrayValOrder() {
        return new String[]{"valueL", "valueA", "valueB"};
    }
}
